export default [
    {
        path: '/',
        redirect: '/login',
        component: () => import('../App.vue'),
        children:[]
    },
    {
        path: '/login',
        name: 'Login',
        component: () => import('../views/login.vue'),
        meta:{}
    },
    {
        path: '/index',
        name: 'Index',
        component: () => import('../views/index.vue'),
        meta:{},
        children:[
            {
                path:'/index/cardCheck',
                name:'IndexCardCheck',
                component: () => import('../views/cardCheck/cardCheck.vue'),
            },
            {
                path:'/index/applyCard',
                name:'IndexApplyCard',
                component: () => import('../views/applyCard/applyCard.vue'),
            },
            {
                path:'/index/cardManagement',
                name:'IndexCardManagement',
                component: () => import('../views/cardManagement/cardManagement.vue'),
            },
            {
                path:'/index/group',
                name:'IndexGroup',
                component: () => import('../views/group/group.vue'),
            },
            {
                path:'/index/formList',
                name:'IndexFormList',
                component: () => import('../views/formConfiguration/formList.vue'),
            },
            {
                path:'/index/formConfiguration',
                name:'IndexFormConfiguration',
                component: () => import('../views/formConfiguration/formConfiguration.vue'),
            },
            {
                path:'/index/log',
                name:'IndexLog',
                component: () => import('../views/log.vue'),
            },
            {
                path:'/index/addPerson',
                name:'IndexAddPerson',
                component: () => import('../views/applyCard/addPerson.vue'),
            },
            {
                path:'/index/exhibition',
                name:'IndexExhibition',
                component: () => import('../views/exhibition/exhibition.vue'),
            },
            {
                path:'/index/userrole',
                name:'IndexUserrole',
                component: () => import('../views/userrole/userrole.vue'),
            },
            {
                path:'/index/fieldConfig',
                name:'IndexFieldConfig',
                component: () => import('../views/fieldConfig/fieldConfig.vue'),
            },
            {
                path:'/index/userList',
                name:'IndexUserList',
                component: () => import('../views/userList/userList.vue'),
            },
            {
                path:'/index/quota',
                name:'IndexQuota',
                component: () => import('../views/quota/quota.vue'),
            },
            {
                path:'/index/boxList',
                name:'IndexBoxList',
                component: () => import('../views/boxList/boxList.vue'),
            },
            {
                path:'/index/importData',
                name:'IndexImportData',
                component: () => import('../views/applyCard/importData.vue'),
            },
            {
                path:'/index/importErrorList',
                name:'IndexImportErrorList',
                component: () => import('../views/applyCard/importErrorList.vue'),
            },
            {
                path:'/index/carCheck',
                name:'IndexCarCheck',
                component: () => import('../views/carCheck/carCheck.vue'),
            },
            {
                path:'/index/carApplyCard',
                name:'IndexCarApplyCard',
                component: () => import('../views/carApplyCard/carApplyCard.vue'),
            },
            {
                path:'/index/addCar',
                name:'IndexAddCar',
                component: () => import('../views/carApplyCard/addCar.vue'),
            },
            {
                path:'/index/cardTypeSet',
                name:'IndexCardTypeSet',
                component: () => import('../views/cardTypeSet/cardTypeSet.vue'),
            },
            {
                path:'/index/parking/area',
                name:'IndexParkingArea',
                component: () => import('../views/parking/area.vue'),
            },
            {
                path:'/index/trafficRecord',
                name:'IndexTrafficRecord',
                component: () => import('../views/trafficRecord/trafficRecord.vue'),
            }
        ]
    }

]